//
//  MyView.m
//  UI01_UIWindow_UIView_UILabel
//
//  Created by LGC on 16/3/9.
//  Copyright © 2016年 Apon. All rights reserved.
//

#import "MyView.h"

@interface MyView ()

@end

@implementation MyView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (instancetype)initWithFrame:(CGRect)frame backgroundColor:(UIColor *)color {
    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = color;
    }
    return self;
}

@end
